#include <stdio.h>

int main ()
{
    float latitude;
    float longitude;
    char info[80];
    int started = 0;

    puts("data=[");
    while ( scanf("%f,%f,%79[^\n]", &latitude, &longitude, info) == 3) 
    {
        if (started)
            printf(",\n");
        else 
            started = 1;
        if (latitude < -90.0 || latitude > 90.0)
        {
            fprintf(stderr, "Invalid latitude! \n");
    
            return 2;
        }
        if (longitude < -180.0 || latitude > 180.0)
        {
            fprintf(stderr, "Invalid longitude!\n");
            return 2; 
        }
        printf("{latitude: %f, longitude: %f, info: '%s'}", latitude, longitude, info);
    }
    puts("\n]");
    return 0;
}